﻿using System;

namespace KL.UFrame.Data.Business.Impl
{
    public class ValueBusiness:BusinessBase,IValueBusiness
    {
        public void Put(int id, string value)
        {
            Cache.Put(id.ToString(),value);
        }

        public string Get(int id)
        {
            return Cache.Get<string>(id.ToString());
        }

        public bool Test()
        {
            return Db != null;
        }
    }
}